/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.jobmesmanage.entity;

import org.hibernate.validator.constraints.Length;

import com.lczyfz.campusinfo.common.persistence.DataEntity;

/**
 * 勤工详情Entity
 * @author zms
 * @version 2018-03-23
 */
public class SchoStuwork extends DataEntity<SchoStuwork> {
	
	private static final long serialVersionUID = 1L;
	private String reqName;		// 需求方名称
	private String reqContent;		// 勤工内容
	private String reqNeed;		// 岗位要求
	private String reqPay;		// 劳酬
	private String reqStatement;		// 提供服利说明
	private String styleId;		// 关联子类id
	private String reqPhone;		// 联系电话
	private String reqAddr;		// 工作地址
	private String reqStates;		// 状态
	private String redStype;        //工作名称
	private String redShort; //工作简介
	private String redImg; //图片路径
	public String getRedShort() {
		return redShort;
	}

	public void setRedShort(String redShort) {
		this.redShort = redShort;
	}
// 简介

	public String getRedImg() {
		return redImg;
	}

	public void setRedImg(String redImg) {
		this.redImg = redImg;
	}

	public SchoStuwork() {
		super();
	}

	public SchoStuwork(String id){
		super(id);
	}

	@Length(min=1, max=30, message="需求方名称长度必须介于 1 和 30 之间")
	public String getReqName() {
		return reqName;
	}

	public void setReqName(String reqName) {
		this.reqName = reqName;
	}
	
	@Length(min=0, max=255, message="勤工内容长度必须介于 0 和 255 之间")
	public String getReqContent() {
		return reqContent;
	}

	public void setReqContent(String reqContent) {
		this.reqContent = reqContent;
	}
	
	@Length(min=0, max=512, message="岗位要求长度必须介于 0 和 512 之间")
	public String getReqNeed() {
		return reqNeed;
	}

	public void setReqNeed(String reqNeed) {
		this.reqNeed = reqNeed;
	}
	
	@Length(min=1, max=11, message="劳酬长度必须介于 1 和 11 之间")
	public String getReqPay() {
		return reqPay;
	}

	public void setReqPay(String reqPay) {
		this.reqPay = reqPay;
	}
	
	@Length(min=0, max=255, message="提供服利说明长度必须介于 0 和 255 之间")
	public String getReqStatement() {
		return reqStatement;
	}

	public void setReqStatement(String reqStatement) {
		this.reqStatement = reqStatement;
	}
	
	@Length(min=1, max=11, message="关联子类id长度必须介于 1 和 11 之间")
	public String getStyleId() {
		return styleId;
	}

	public void setStyleId(String styleId) {
		this.styleId = styleId;
	}
	
	@Length(min=1, max=11, message="联系电话长度必须介于 1 和 11 之间")
	public String getReqPhone() {
		return reqPhone;
	}

	public void setReqPhone(String reqPhone) {
		this.reqPhone = reqPhone;
	}
	
	@Length(min=0, max=255, message="工作地址长度必须介于 0 和 255 之间")
	public String getReqAddr() {
		return reqAddr;
	}

	public void setReqAddr(String reqAddr) {
		this.reqAddr = reqAddr;
	}
	
	@Length(min=1, max=1, message="状态长度必须介于 1 和 1 之间")
	public String getReqStates() {
		return reqStates;
	}

	public void setReqStates(String reqStates) {
		this.reqStates = reqStates;
	}
	public String getRedStype() {
		return redStype;
	}

	public void setRedStype(String redStype) {
		this.redStype = redStype;
	}
}